package com.asset.user.biz;

import com.asset.common.exception.BizException;
import com.asset.common.result.ResultMsg;
import com.asset.user.dao.entity.UserEntity;
import com.asset.user.form.UserForm;

import java.util.List;

/**
 * @author luoyongzhi
 */
public interface IUserBiz {

    ResultMsg addUser(UserForm userForm);

    UserForm getUserById(Long userId);

    ResultMsg update(UserForm userForm);

    UserForm getUserInfo();

    UserEntity getUserByTel(String tel);

    void register(UserEntity userEntity) throws BizException;

    List<UserEntity> getUsersByIds(List<Long> userIds);
}
